class CoachBankcard < ApplicationRecord
	validates :bank, :cardno,  presence: {message: "该项不能为空"}
	# validates_numericality_of :cardno, greater_than_or_equal_to: 16, less_than_or_equal_to: 19, message: "银行卡必须16-19位"
end
